const Config = {
  tokenTableName: 'vue-admin-better-2024',
  //token存储位置localStorage sessionStorage
  storage: 'localStorage',
  //配后端数据的接收方式application/json;charset=UTF-8或者application/x-www-form-urlencoded;charset=UTF-8
  contentType: 'application/json;charset=UTF-8',
  //消息框消失时间
  messageDuration: 3000,
  //最长请求时间
  requestTimeout: 300000,
  //操作正常code，支持String、Array、int多种类型
  successCode: [200, 0],
  // 参数错误
  paramsErrorCode: 400,
  //登录失效code
  invalidCode: 402,
  //无权限code
  noPermissionCode: 401,
  //是否开启登录拦截
  loginInterception: true,
  baseURL: '',
  defaultRoleCover: 'https://res.staticbrm.top/new_img/public/default_role.jpg',
  defaultNpcCover: 'https://res.staticbrm.top/new_img/public/default_npc.jpg',
  defaultUserCover: 'https://res.staticbrm.top/new_img/public/default_user.webp'
}
export const { 
  baseURL,
  contentType,
  invalidCode,
  noPermissionCode,
  successCode,
  loginInterception,
  requestTimeout,
  defaultRoleCover,
  defaultNpcCover,
  defaultUserCover
} = Config;